package com.panda.pojo;

import com.panda.utils.IdUtils;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class StringBlock extends Block {

    {
        id = IdUtils.create("__output_");
    }

    private String text;

    public StringBlock() {
    }

    public StringBlock(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return text + "\n";
    }


}
